package com.evaluation.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.evaluation.entity.Weixin;
import com.evaluation.mapper.WeixinMapper;
import com.evaluation.service.WeixinService;
import org.springframework.stereotype.Service;

/**
 * 企业微信服务实现类
 */
@Service
public class WeixinServiceImpl extends ServiceImpl<WeixinMapper, Weixin> implements WeixinService {
    
    @Override
    public Weixin getByQywx(String qywx) {
        return this.getOne(new QueryWrapper<Weixin>().eq("QYWX", qywx));
    }
}